<!DOCTYPE html>
<html class="x-admin-sm">

<head>
  <meta charset="UTF-8">
  <title></title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport"
    content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
  <link rel="stylesheet" href="./css/font-awesome.css">
  <link rel="stylesheet" href="./css/theme6.css">
  <link rel="stylesheet" href="./lib/layui/css/layui.css">
  <link rel="stylesheet" href="./css/xadmin.css">
  <link rel="stylesheet" href="./css/common.css">
  <link rel="stylesheet" href="./css/link.css">
  <style>
    /* .toolBox {
      justify-content: right !important;
    } */
  </style>
  <!--[if lt IE 9]>
          <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
          <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
        <![endif]-->
</head>

<body>
  <div class="x-nav">
    <span class="layui-breadcrumb">
      <a href="">首页</a>
      <a href="">演示</a>
      <a>
        <cite>导航元素</cite></a>
    </span>
    <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right"
      onclick="location.reload()" title="刷新">
      <i class="layui-icon layui-icon-refresh" style="line-height:30px"></i></a>
  </div>
  <div class="layui-fluid">
    <div class="layui-row layui-col-space15">
      <!-- tab栏 -->
      <div class="toolBox layui-btn-container">
        <div div class="thisleft">
          <div class="layui-btn-primary layui-btn active tab" id="textLink">文字链接</div>
          <div class="layui-btn-primary layui-btn tab" id="pictureLink">图片链接</div>
        </div>
        <div class="baseLine">
          <div class="blueLine"></div>
        </div>
        <div div class="left thisright">
          <button class="layui-btn-primary layui-btn" id="addItem">
            <i class="fa fa-plus left-nav-li"></i>
            新增
          </button>
        </div>

      </div>

      <!-- 表格 -->
      <table id="demo" lay-filter="test" class="layui-table"></table>
      <!-- 分页器 -->
      <div id="laypage"></div>
      <!-- 新增/编辑表单 -->
      <form class="layui-form" lay-filter="test" id="addOrEdit" style="display: none;"></form>
    </div>
  </div>
  <!-- 表哥内部图片 -->
  <script type="text/html" id="toolbarDemo1">
    <img src="http://124.223.14.236:8060/{{=d.img}}" alt="">
  </script>
  <!-- 编辑删除按钮 -->
  <script type="text/html" id="toolbarDemo2">
    <div>
      <button class="fa fa-edit layui-bg-blue layui-btn editItem" data-id="{{ d.id }}" ></button>
      <button class="fa fa-trash-o layui-bg-red layui-btn delItem" data-id="{{ d.id }}"></button>
    </div>
  </script>
  <!-- 编辑删除按钮 -->
  <script type="text/html" id="toolbarDemo3">
    <div class="tip"></div>
  </script>

  <script src="./lib/layui/layui.js" charset="utf-8"></script>
  <script src="./lib/axios.js"></script>
  <script src="./js/ajaxBase.js"></script>
  <script type="text/javascript" src="./js/xadmin.js"></script>
  <script src="./lib/form-serialize.js"></script>
  <script src="./js/common.js"></script>
  <script src="./js/link.js"></script>
</body>

</html>